package day02_oop_code.com.itheima.d4_final;

public class Demo1_Final {
    public static final String SCHOOL_NAME = "黑马程序员";

    public static final String SCHOOL_NAME2;
    static {
        SCHOOL_NAME2 = "黑马程序员";
    }
    private final String name = "张三";

    public static void main(String[] args) {
        final int a = 123;
        final double r = 3.14;
        buy(0.7);
    }
    public static void buy(final double price){
        System.out.println("支付：" + price);
//        price = 1.1;
    }
}
final class A{

}
//class B extends A{
//
//}
//
//class C{
//    public final void run(){}
//}
//class D extends C{
//    //public void run(){}
//}
//
